package org.androidannotations.gradle.view.fragment;

import android.app.Fragment;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EFragment;
import org.androidannotations.annotations.ViewById;
import org.androidannotations.gradle.R;

/**
 * Created by ir on 2015/5/6.
 */
@EFragment(R.layout.my_fragment)
public class MyFragment extends Fragment {

    @ViewById
    ImageView imageView;
    @ViewById
    ImageView imageView2;

    @AfterViews
    void afterViews() {
        Glide.with(this).load("http://h.hiphotos.baidu.com/image/pic/item/00e93901213fb80e241a4eee33d12f2eb938943b.jpg").into(imageView);
        Glide.with(this).load("http://spiderdaily.wayi.com.tw/upload/images/20130523b9.gif").into(imageView2);
    }
}
